package com.ruoyi.system.domain.vo;
/*
 * @ClassName PointsRankVo
 * @Description //TODO
 * @Author Administrator
 * @Date 2024/4/23 20:55
 **/
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

@Data
public class PointsRankVo{

    //排序
    private Integer orderNum;

    //党内职务
    private String postName;

    private Long deptId;

    private String deptName;

    private Long userId;

    private String userName;

    //规则id
    private Long pointsRuleId;

    //规则名称
    private String pointsRuleName;

    //总积分
    private Float totalScore;

    //加分累计
    private Float totalAddScore;

    //扣分累计
    private Float totalSubtractScore;

    public PointsRankVo() {
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("orderNum", getOrderNum())
                .append("postName", getPostName())
                .append("deptName", getDeptName())
                .append("deptId", getDeptId())
                .append("userId", getUserId())
                .append("userName", getUserName())
                .append("pointsRuleId", getPointsRuleId())
                .append("pointsRuleName", getPointsRuleName())
                .append("totalScore", getTotalScore())
                .append("totalSubtractScore", getTotalAddScore())
                .append("totalSubtractScore", getTotalSubtractScore())
                .toString();
    }
}
